﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;

namespace Game_Engine
{
    public class AStarNode
    {
        public Vector3 Position { get; set; }
        public bool Passable { get; set; }
        public bool Closed { get; set; }
        public float Cost{get;set;}
        public float Heuristic { get; set; }

        public int Col { get; set; }
        public int Row { get; set; }

        public AStarNode Parent { get; set; }

        public AStarNode(int col, int row, Vector3 pos)
        {
            Col = col;
            Row = row;
            Position = pos;

            Passable = true;
            Closed = false;
            Cost = 0;
            Heuristic = 0;

            Parent = null;
        }
    }
}
